/* Global Reset */


  /* Defined Constant (Root) Start   */
    
  :root {
    --text-color: #0000;
    --secondary-color: #5151ef;
    --main-color: white;
    --light-bg-color:rgb(246,246,246);
    --dark-bg-color:rgb(15, 15, 40);
    --sub-text-color: #808080;
    --pane-padding: 32px 100px;
    --primary-font-family: 'Poppins', sans-serif;
    --primary-font-weight: 450; 
    --primary-font-style: normal;
    --primary-font-size: 22px;
    --box-shadow: 0px 2px 5px rgb(255, 255, 255);
    
    
    }
   /* Defined Constant (Root) End */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}



.industries {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
  
}

.industries h2 {
  font-size: 2.5em;
  color: #351b4d;
}
.industries h2 span {
  position: relative;
}
.industries h2 span::after {
  content: '';
  width: 80%;
  height: 4px;
  background: #5151ef;
  position: absolute;
  bottom: -10px;
  left: 10%;
  border-radius: 2px;
}

.industries p {
  max-width: 600px;
  margin: 10px auto 30px;
  font-size: 1.1em;
  color: white;
}

.carousel-container-00 {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-00 {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.carousel-00::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.card-00 {
  flex: 0 0 auto;
  width: 280px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.card-00 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-00::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.card-00:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

.card-00 .caption {
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 15px;
  width: 100%;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;

  .p{
    color: white;
  }
}

.card-00:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color) ;
  color: white;
  border: none;
  font-size: 2em;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1000;
  display: none;
}
.arrow.left { left: 10px; }
.arrow.right { right: 10px; }




/* Responsive Start  */
  @media (max-width:617px) {
    
 .industries h2 {
  font-size: 2em;
  padding-bottom: 20px;
  padding-top: 40px;
  color: #351b4d;
}
.carousel-container-00 {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 40px;
}

      
  }




  /* Responsive End  */

@media (max-width: 768px) {
  .carousel-00 {
    gap: 15px;
    padding: 15px;
  }

  .card-00 {
    width: 80%;
    height: 250px;
  }

  .arrow {
    display: none;
  }
}